@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-4 ">
                    <#input id="reportDate" name="配送日期" value="${item.reportDate}"  readonly="readonly"/>
                    <#input id="driverName" name="司机" value="${item.driverName}" readonly="readonly"/>
                </div>

                <div class="col-sm-4  ">

                    <#input id="driverName" name="车次状态" value="${item.status=='0'?'配送中':'已核销'}" readonly="readonly"/>
                    <#input id="carNo" name="车牌号" value="${item.carNo}" readonly="readonly"/>
                </div>
                <div class="col-sm-4">
                    <#input id="trainNo" name="车次号" value="${item.trainNo}"  readonly="readonly"/>
                    <#input id="phone" name="联系号码" value="${item.phone}" readonly="readonly"/>
                </div>
            </div>
            运单明细 </br>
            <div id="offHight"></div>
            <#table id="TTrainCheckTranTable"/>
            本次收入合计（￥）:<span style="color: #00B83F;size: 15px" id="hj">0</span>,月结费用（￥）:<span style="color: #8a1f11;size: 15px"
                                                                                       id="gz">0</span>
            ,本次应收（￥）:<span style="color: #8a1f11;size: 15px"
                         id="ys">0</span>
            <br>
            <div id="xj_money">
            @for(bill in bills){
            <div class="row" style="margin-top: 10px">

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">现金：</label>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" name="cash" readonly   value="${bill.cash}" placeholder="" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 100px;">微信：</label>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" name="weixin" readonly   value="${bill.weixin}" placeholder="" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">支付宝：</label>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" name="alipay"readonly   value="${bill.alipay}" placeholder="" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 100px;">银联卡：</label>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" name="bank"readonly  value="${bill.bank}" placeholder="" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

            </div>
            @}
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    @if(item.status==0){
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TTrainInfoDlg.refStatus()"/>
                    @}
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TTrainInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/tOrder/transfer/transfer_info.js"></script>
@}
